package com.itheima.tliasmanager.service;

import com.itheima.tliasmanager.pojo.Vo.PageResult;
import com.itheima.tliasmanager.pojo.Dto.QueryParam;
import com.itheima.tliasmanager.pojo.domain.Student;

import java.util.List;

public interface StudentService {
    PageResult<Student> pageList(QueryParam queryParam);

    void batchRemoveStudent(List<Integer> ids);

    void addStudent(Student student);

    Student getById(Integer id);

    void updateStudent(Student student);

    void updateStudentViolation(Integer id, Short score);
}
